package com.stockz.equity.scanner.model;

import com.stockz.equity.model.Bar;
import com.stockz.equity.model.Scrip;
import com.stockz.equity.scanner.screen.Screen;

public class ScannerEvent {
	
	public static enum EventType{
		OnScanStart,
		OnScripScanStart,
		OnScripScanSkipped,
		OnMatch,
		OnNotMatch,
		OnScripScanEnd,
		OnScanEnd,
		OnScanCancel
	}

	private Screen<? extends Object> screen;
	private Scrip scrip;
	private Bar bar;
	private int totalMatchCount;
	private int totalScripCount;
	private int currentScripIndex;
	private int totalSkippedCount;
	private double matchStrength;
	private EventType eventType;
	
	
	public Screen<? extends Object> getScreen() {
		return screen;
	}
	public void setScreen(Screen<? extends Object> screen) {
		this.screen = screen;
	}
	public Scrip getScrip() {
		return scrip;
	}
	public void setScrip(Scrip scrip) {
		this.scrip = scrip;
	}
	
	public int getTotalMatchCount() {
		return totalMatchCount;
	}
	public void setTotalMatchCount(int totalMatchCount) {
		this.totalMatchCount = totalMatchCount;
	}
	public int getTotalScripCount() {
		return totalScripCount;
	}
	public void setTotalScripCount(int totalScripCount) {
		this.totalScripCount = totalScripCount;
	}
	public int getCurrentScripIndex() {
		return currentScripIndex;
	}
	public void setCurrentScripIndex(int currentScripIndex) {
		this.currentScripIndex = currentScripIndex;
	}
	public Bar getBar() {
		return bar;
	}
	public void setBar(Bar bar) {
		this.bar = bar;
	}
	public EventType getEventType() {
		return eventType;
	}
	public void setEventType(EventType eventType) {
		this.eventType = eventType;
	}
	public double getMatchStrength() {
		return matchStrength;
	}
	public void setMatchStrength(double matchStrength) {
		this.matchStrength = matchStrength;
	}
	public int getTotalSkippedCount() {
		return totalSkippedCount;
	}
	public void setTotalSkippedCount(int totalSkippedCount) {
		this.totalSkippedCount = totalSkippedCount;
	}
}
